package com.study.english.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.study.english.pojo.vo.SysVideoVo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

import com.study.english.domain.SysVideo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author wf
 * @description 针对表【sys_video(学习视频)】的数据库操作Service
 * @createDate 2024-03-11 15:56:35
 */
public interface ISysVideoService extends IService<SysVideo> {

    void addSysVideo(SysVideoVo sysVideoVo);

    void updateSysVideo(SysVideoVo sysVideoVo);

    IPage<SysVideoVo> getSysVideoPageList(IPage<SysVideoVo> page, SysVideoVo sysVideoVo);

    List<SysVideoVo> getSysVideoList(SysVideoVo sysVideoVo);

    List<SysVideoVo> getSysVideoCurrStudyList(SysVideoVo sysVideoVo);

    SysVideo getSysVideoById(String id);

    void delSysVideo(String id);


    void addBatchSysVideo(SysVideoVo sysVideoVo);

    String uploadThumbnailImage(SysVideo sysVideo);
}
